using FairyGUI;

namespace Core
{
    public struct ItemChange
    {
        public ItemContainer container;
        public int oldItemId;
        public int newItemId;
        public ItemSlot slot;
    }

    public struct ClickSlot
    {
        public ItemSlot slot;
    }

    public struct TouchBeginItemSlot
    {
        public ItemSlot slot;
        public GObject component;
    }

    public struct TouchEndItemSlot
    {
        public ItemSlot slot;
        public GObject component;
    }

    public struct CurrentItemSlostChange
    {
        public Unit unit;
        public ItemSlot oldSlot;
        public ItemSlot newSlot;
    }

    public struct UnitStateChange
    {
        public Unit unit;
        public UnitSurvivalState oldState;
        public UnitSurvivalState newState;
    }
}